Getting and Setting Caps
QuickDraw GX allows you to specify what to draw at the start and at the end of a shape's contours. In particular, you may specify a start cap for any point shape, and you may specify a start cap and an end cap for any line, curve, polygon, or path shape that has angxOpenFrameFill
shape fill. You must always specify cap shapes in primitive form."The Cap Structure" on page 3-99 describes the
gxCapRecord
structure, which you use when retrieving or specifying cap information. That section also describes what types of shapes you may use as cap shapes.You can use the
GXGetStyleCap
function to retrieve the cap information from a style object and theGXSetStyleCap
function to specify cap information for a style object.The
GXGetShapeCap
andGXSetShapeCap
functions provide a way to retrieve and specify cap information for the style object associated with a particular shape.
Subtopics
- GXGetStyleCap
- GXSetStyleCap
- GXGetShapeCap
- GXSetShapeCap